package com.huabo.contract.util;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class Tree {

    private BigDecimal id;
    private String url;
    private BigDecimal pId;
    private List<Tree> children = new ArrayList();
    private String name;
    private String target;
    private Boolean isParent;
    private Boolean checked;
    private Boolean open;
    private String type;

    public Tree() {
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public BigDecimal getId() {
        return this.id;
    }

    public void setId(BigDecimal id) {
        this.id = id;
    }

    public String getUrl() {
        return this.url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public BigDecimal getpId() {
        return this.pId;
    }

    public void setpId(BigDecimal pId) {
        this.pId = pId;
    }

    public List<Tree> getChildren() {
        return this.children;
    }

    public void setChildren(List<Tree> children) {
        this.children = children;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTarget() {
        return this.target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public Boolean getIsParent() {
        return this.isParent;
    }

    public void setIsParent(Boolean isParent) {
        this.isParent = isParent;
    }

    public Boolean getChecked() {
        return this.checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public Boolean getOpen() {
        return this.open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }
}
